Internet (internet)

Modifying the output of ADL

Adding/changing headers (headers)

Add headers to the ADL response. This enables you to output ADL as a web page, as JSON, XML, etc.

 

{ }
[{"paths":[],"data":{"internet":"internet","call":"internet.headers","internet.headers":"headers","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{"headers":{"content-type":"application\/json","graphheader":"hi"}},"height":32,"width":120,"step":"Add headers","data_to_var":"headers","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"headers":{"content-type":"application\/json","graphheader":"hi"}}